package Core;

import java.util.ArrayList;
import java.util.Random;

public class RandomStrategy extends Strategy
{
    public Position chooseMove(ArrayList<Position> moves, Board board)
    {
	Random r = new Random();
	int result = r.nextInt(moves.size());
	this.lastPosition = moves.get(result);
	return moves.get(result);
    }
}
